<template>
  <div>
    <ul class="flex jc-sa w100pc bg-fff h50px">
      <router-link to="/find/recommend" :class="{active: page==='find1'}" class="fg1">
        <li class="text">
          <p class="f14">推荐•路线</p>
        </li>
      </router-link>
      <router-link to="/find/quality" :class="{active: page==='find2'}" class="fg1">
        <li class="text">
          <p class="f14">精品•美墅</p>
        </li>
      </router-link>
      <router-link to="/find/activity" :class="{active: page==='find3'}" class="fg1">
        <li class="text">
          <p class="f14">优惠•活动</p>
        </li>
      </router-link>
    </ul>
  </div>
</template>

<script>
export default {
  props: {
    page: {
      type: String,
      required: true
    }
  }
};
</script>

<style  scoped>
.text {
  text-align: center;
  line-height: 40px;
  border: 1px solid #ebebeb;
}
.h50px {
  height: 40px;
}
.active {
  color: #ff5f16;
  border-bottom: 1px solid #ff5f16;
}
</style>

